package cn.agiledata.bank.myspace.dao;

import java.util.List;


import cn.agiledata.bank.hibernateBean.AccountLimit;
import cn.agiledata.bank.hibernateBean.Acctlimithis;
import cn.agiledata.bank.hibernateBean.ActionType;
import cn.agiledata.bank.hibernateBean.GradeRules;
import cn.agiledata.bank.hibernateBean.Groups;
import cn.agiledata.bank.hibernateBean.MessageCustomization;
import cn.agiledata.bank.hibernateBean.OperSubacct;



import cn.agiledata.bank.hibernateBean.Operator;

public interface IMySpaceDao {
	//根据操作者id得到操作者信息
	public Operator getOperatorById(String id);
	
	//银行账户信息
	public List getAccountBankList(String accountID);

	//获取交易对象列表
	public List getTrxObjectList(String accountID);
	
	//修改操作者
	public void updateOperator(Operator oper);

	public boolean isUniqueSubAccountField(String value, String dbName,String createUser);


	public boolean isUniqueSubAccountFieldExcludeOwn(String value, String dbName, Long id,String createUser); 
	
	public void updateAcctLimit(AccountLimit al); 
	
	public void saveAcctLimit(AccountLimit al);
	
	public AccountLimit getAcctlimitByAcctGrading(String grading);
	
//	public Acctlimit getAcctlimitByAcctId(String id);
	public AccountLimit getAcctlimitByAcctId(String id);
	
	public void updateAllAccount();
	
	public void saveAcctLimithis(Acctlimithis als);
	
//	public GradingRules getGradingRulesByGrading(String gradingId);
	public GradeRules getGradingRulesByGrading(String gradingId);
	public List getAuthenticationById(String id);
	public String getCardType(String id);
	public List getAuthenticationMethod();
	
	public List getAllMessageCustoms();
	public Groups getGroupsById(String id);
	
	public List getAuditOperater(String id);
	
	public List getAuditGroup(String accountId);
	
	public OperSubacct getOperSubacct(String opId,String subId);
	
	public ActionType getActionTypeById(String id);
	
	public List getAuditOperaters(String id);
	
	public List getAccountMessage(String accountId,String messageCustomizationId);
	
	public MessageCustomization getMessageCustomization(Long id);
	
	public List getOper(String operSeq,String status);
}
